package com.example.demo.enums;

/**
 * @author huangyuting
 */
public enum PermissionTypeEnum {
    /**
     * 类型：用户、用户组、角色
     */
    USER("用户","1"),
    USER_GROUP("用户组","2"),
    ROLE("角色","3");
    private String name;
    private String value;

    PermissionTypeEnum(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public String getValue() {
        return value;
    }
}
